<?php
defined("_VALID_ACCESS") || die('Direct access forbidden');
class Eyeworx_SolutionsInvExpManager_RBO_SolutionsInvExps extends RBO_Recordset {

    public function fields() {
        $fields = array();
        $solution = new RBO_Field_Text('Solution', 50);
        $solution->set_visible();
        $fields[] = $solution;

        $import = new RBO_Field_Text('Date Imported', 50);
        $import->set_required()->set_visible();
        $fields[] = $import;

        $exp = new RBO_Field_Text('Expiration Date', 50);
        $exp->set_required()->set_visible();
        $fields[] = $exp;

        return $fields;
    }

    public function table_name() {
        return 'eyeworx_solutions_inv_exp';
    }
}

?>